VERSION 5.00
Begin VB.Form frmB13A 
   BackColor       =   &H00FFFFFF&
   Caption         =   "B13A Filing Options"
   ClientHeight    =   2415
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6330
   Icon            =   "frmB13A.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form1"
   ScaleHeight     =   2415
   ScaleWidth      =   6330
   StartUpPosition =   1  'CenterOwner
   Begin VB.Frame Frame1 
      BackColor       =   &H00FFFFFF&
      Caption         =   " B13A "
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000080FF&
      Height          =   2235
      Left            =   120
      TabIndex        =   4
      Top             =   60
      Width           =   6075
      Begin VB.ComboBox f1651 
         Height          =   315
         ItemData        =   "frmB13A.frx":030A
         Left            =   2280
         List            =   "frmB13A.frx":031D
         TabIndex        =   7
         Top             =   420
         Width           =   3615
      End
      Begin VB.CommandButton cmdSave 
         Appearance      =   0  'Flat
         BackColor       =   &H00E0E0E0&
         Caption         =   "&Save/Exit"
         Height          =   315
         Left            =   1380
         MaskColor       =   &H0080C0FF&
         Style           =   1  'Graphical
         TabIndex        =   2
         Top             =   1740
         UseMaskColor    =   -1  'True
         Width           =   1215
      End
      Begin VB.CommandButton cmdCancel 
         Appearance      =   0  'Flat
         BackColor       =   &H00E0E0E0&
         Caption         =   "&Cancel"
         Height          =   315
         Left            =   3420
         MaskColor       =   &H0080C0FF&
         Style           =   1  'Graphical
         TabIndex        =   3
         Top             =   1740
         UseMaskColor    =   -1  'True
         Width           =   1215
      End
      Begin VB.TextBox f1653 
         Height          =   315
         Left            =   2280
         TabIndex        =   1
         Top             =   1260
         Width           =   3615
      End
      Begin VB.TextBox f1652 
         Height          =   315
         Left            =   2280
         TabIndex        =   0
         Top             =   840
         Width           =   3615
      End
      Begin VB.Label Label3 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00FFFFFF&
         Caption         =   "B13A Filing Options:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   300
         TabIndex        =   8
         Top             =   480
         Width           =   1875
      End
      Begin VB.Label Label2 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00FFFFFF&
         Caption         =   "Export Permit #:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   240
         TabIndex        =   6
         Top             =   1320
         Width           =   1995
      End
      Begin VB.Label Label1 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00FFFFFF&
         Caption         =   "Export Statement Data:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   240
         TabIndex        =   5
         Top             =   900
         Width           =   1995
      End
   End
End
Attribute VB_Name = "frmB13A"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'---------------------------------------------------------------------------------------
' Procedure : Form_Activate()
' DateTime  : 3/3/2005
' Purpose   : Set the Permit # to the value on the Setup form Intl tab
'---------------------------------------------------------------------------------------
'
Private Sub Form_Activate()
    f1653 = frmSetup.txtIRSEIN
End Sub
'---------------------------------------------------------------------------------------
' Procedure : Form_KeyDown()
' DateTime  : 3/2/2005
' Purpose   : Enter key pressed sends a TAB to move to next field
'---------------------------------------------------------------------------------------
'
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    If Not TypeOf Me.ActiveControl Is CommandButton Then
        If Shift = 0 And KeyCode = 13 Then
            SendKeys "{TAB}"
        End If
    End If
End Sub
'---------------------------------------------------------------------------------------
' Procedure : cmdCancel_Click()
' DateTime  : 3/3/2005
' Purpose   : Cancel button hides form
'---------------------------------------------------------------------------------------
'
Private Sub cmdCancel_Click()
    Me.Hide
    If frmShip.Visible Then frmShip.SetFocus
End Sub
'---------------------------------------------------------------------------------------
' Procedure : cmdSave_Click()
' DateTime  : 2/18/2004
' Purpose   : Save button assign Dry Ice Wgt to global var.
'---------------------------------------------------------------------------------------
'
Private Sub cmdSave_Click()
    Call AssignFormGlobalVars
    Me.Hide
    If frmShip.Visible Then frmShip.SetFocus
End Sub
'---------------------------------------------------------------------------------------
' Procedure : AssignFormGlobalVars()
' DateTime  : 4/26/2006
' Purpose   : Assign the form's global vars
'---------------------------------------------------------------------------------------
'
Public Sub AssignFormGlobalVars()
    
    If f1651.ListIndex < 0 Then
        g_str1651 = "1"
        g_str1652 = ""
        g_str1653 = ""
    Else
        g_str1651 = Str(f1651.ItemData(f1651.ListIndex))
        g_str1652 = f1652
        g_str1653 = f1653
    End If
    
End Sub
Private Sub f1652_GotFocus()
    Call SelectAllText(f1652)
End Sub

Private Sub f1653_GotFocus()
    Call SelectAllText(f1653)
End Sub

